import {enableProdMode} from '@angular/core';
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';
import {AppModule} from './app/app.module';
import {environment} from './environments/environment';
import {TestBrowser} from './TestBrowser';

if (environment.production) {
    enableProdMode();
}
// 程序初始化检测用户登录设备类型及网页环境及流浏览器类型还有浏览器版本等
TestBrowser.BrowserType();
platformBrowserDynamic().bootstrapModule(AppModule)
    .catch(err => console.error(err));
